#ifndef IMAGE_LOADER_H
#define IMAGE_LOADER_H

#include "image.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef enum IL_RET {
    IL_OK = 0,
    IL_ERROR,
    IL_UNKNOWN_FORMAT,
    IL_CRC_CHECK_FAILED,
}IL_RET_t;

extern IL_RET_t ImageLoader_checkImage(ImageHeader_t *image);

#ifdef __cplusplus
}
#endif

#endif
